package cn.itcast.usermanage.pojo;

import javax.persistence.Table;


@Table(name = "t_search")
public class Search {

    private int id;
    private String direction;
    private String type;
    private String title;
    private String url;
    private String summary;

    public Search(){
        
        
    }
    public Search(String direction, String type, String title, String url,String summary) {
        super();
        this.direction = direction;
        this.type = type;
        this.title = title;
        this.url = url;
        this.summary=summary;
    }
    
   
    public String getSummary() {
        return summary;
    }
    public void setSummary(String summary) {
        this.summary = summary;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getDirection() {
        return direction;
    }
    public void setDirection(String direction) {
        this.direction = direction;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    
}
